#ifndef LOGIN_H
#define LOGIN_H

#include <QPushButton>
#include <QTcpSocket>
#include <QTcpServer>
#include <QLineEdit>
#include <QDialog>
#include <QLabel>

class Login : public QDialog
{
    Q_OBJECT
private:
    QLabel* IP;
    QLineEdit* input_IP;
    QLabel* Port;
    QLineEdit* input_Port;
    QPushButton* link;
    QTcpSocket* socket;
    QTcpServer* tcpserver;
public:
    void initLayout();
    explicit Login(QWidget *parent = nullptr);

signals:

};

#endif // LOGIN_H
